package com.huicai.poi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huicai.poi.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedList;

/**
 * @author: MR.LIU
 * @description:
 * @date: 2020/6/7
 * @time: 16:45
 */
@Mapper
public interface PoiMapper extends BaseMapper<Product> {
    /**
     * 批量添加
     *
     * @param list 数据
     * @return int
     * */
    int batchInsert(@Param("list") LinkedList<Product> list);
}
